@extends('host.custom.common.common')

@section('c-head')
    <script type="text/javascript">
        PAGE_DATA = {
            pagingObj : {
                total : 0,
                pageSize : 7,
                page : 1
            }
        };

    </script>
@stop

@section('body')
        <!-- top_test -->
    <div id="top_test"></div>

    <!-- web_logo_search -->
    <div id="web_logo_search"></div>

    <!-- comm_nav -->
    <div id="comm_nav"></div>

    <div class="com-w mt20">
        <div class="wrapper clearfix">
            <div id="commleftmenu" class="w220 mr20 comm-left-menu">
                <div class="menu-top-title">采购商中心</div>
                <div id="leftmenuitems"></div>
            </div>
            <div class="w960 comm-main">
                <div class="main-release clearfix">
                    <div class="main-release-nav">
                        您当前的位置：
                        <a href="javascript:void(0)">首页</a>
                        >
                        <a href="javascript:void(0)">采购商中心</a>
                        > 我的咨询
                    </div>
                    <div class="main-release-title">
                        <span class="icons"></span>
                        <span class="release-title-h3 f16">我的咨询</span>
                    </div>
                    <div class="main-release-from">
                        <div id="commTabs_1" class="comm-tabs">
                            <div class="comm-tabs-head">
                                <div class="head-item current">全部咨询</div>
                                <div class="head-item">已回复咨询</div>
                            </div>
                            <div class="comm-tabs-body">
                                <!-- 1 -->
                                <div class="body-item current">
                                    <div class="consult-center mt20">
                                        <div class="head">
                                            <ul class="clearfix">
                                                <li class="wb30">商品名称</li>
                                                <li class="wb15">用户</li>
                                                <li class="wb20">咨询内容</li>
                                                <li class="wb10">咨询时间</li>
                                                <li class="wb15">商家回复</li>
                                                <li class="wb10">回复时间</li>
                                            </ul>
                                        </div>
                                        <div class="consult-main clearfix" id="commTabs_body_0">


                                        </div>
                                        <div id="comm-paging-0" class="comm-paging mt2" style="float: right;" ></div>
                                        <input type="hidden" id="sel-status-0" class="sel-status" value="0" />
                                    </div>
                                </div>
                                <!-- 2 -->
                                <div class="body-item">
                                    <div class="consult-center mt20">
                                        <div class="head">
                                            <ul class="clearfix">
                                                <li class="wb20">商品名称</li>
                                                <li class="wb15">用户</li>
                                                <li class="wb15">咨询内容</li>
                                                <li class="wb15">咨询时间</li>
                                                <li class="wb15">商家回复</li>
                                                <li class="wb20">回复时间</li>
                                            </ul>
                                        </div>
                                        <div class="consult-main clearfix" id="commTabs_body_1">



                                        </div>
                                        <div id="comm-paging-1" class="comm-paging mt2" style="float: right;" ></div>
                                        <input type="hidden" id="sel-status-1" class="sel-status" value="1" />
                                    </div>
                                </div>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- foot_nav -->
    <div id="foot_nav"></div>

    <div id="bottom_main"></div>

    <script type="text/template" id="consult-templ">
        <%_.each(obj, function(item){%>
        <ul class="clearfix">
            <li class="wb30">
             <span class="fl c-coffee tl f14 wbb mt20 lh20 f14 text ml10">
                 <%=item.goodsName %>
             </span>
            </li>
            <li class="wb15 b002 tc"><%=item.userName %></li>
            <li class="wb20">
             <span class="fl f14 c-666 mt20 wbb lh20 text">
                 <%=item.askContent %>
             </span>
            </li>
            <li class="wb10 tc c-666"><span class="f14 mt20 lh20 fl"><%=item.askTime %></span> </li>
            <li class="wb15 tc consult-text"><%=item.replyContent %></li>
            <li class="wb10 tc"> <span class="f14 mt20 lh20 fl"><%=item.replyTime %></span></li>
        </ul>
        <%});%>
    </script>
    <script src="/assets/b2b/js/libs/jquery.paging.min.js"></script>
    <script src="/assets/b2b/js/libs/page/common.plugin.js"></script>
    <script src="/assets/b2b/js/pageModules/buyer/B8.js"></script>
@stop